package com.vito.framework.system.config.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.vito.framework.base.model.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_config")
@ApiModel(value = "sys_config对象", description = "系统配置表")
public class SysConfig extends Entity<SysConfig> {

    /**
     * Create At:   2018年1月30日
     *
     * @author chuhailan
     * @param long
     * @return long
     * @description
     */
    private static final long serialVersionUID = 4249243247200267857L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @TableField("version")
    @ApiModelProperty("版本号")
    private String version;

    @TableField("about_us")
    @ApiModelProperty("关于我们")
    private String aboutUs;

    @TableField("service_tel")
    @ApiModelProperty("客服电话")
    private String serviceTel;


    @TableField("share_img")
    @ApiModelProperty("分享图")
    private String shareImg;

    @TableField("share_title")
    @ApiModelProperty("分享标题")
    private String shareTitle;
}
